//
//  TemplateManager.h
//  FootPrint
//
//  Created by GeneChu on 4/13/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TemplateManager : NSObject {
    
    NSMutableDictionary *               _templateDict;  // key=name, val=path
    
    NSMutableDictionary *               _realDict;  // key=name, val=templteDict
    
    NSString *                          _rootDict;
    
}

+ (TemplateManager*) sharedInstance;

- (BOOL) eventExistForName:(NSString*)name;

- (EventMessage*) eventForName:(NSString*)name;
- (void) removeTamplate:(NSString*)name;
- (BOOL) saveTemplate:(EventMessage*)event forName:(NSString*)name;

- (NSArray*) allTemplate;

@end
